package test3_17.Vehicles;

public class Homework9_3_Test {
    public static void main(String[] args) {

        Car car = new Car("小米","黄色",5);
        car.showCar();
        car.showInfo();

        Truck truck = new Truck("一汽","黑色",10);
        truck.showTruck();
        truck.showInfo();
    }
}
